package com.mall.service;

import com.mall.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author fire
 * @since 2020-04-16
 */
public interface OrdersService extends IService<Orders> {

    int addOrder(int userId, String address, BigDecimal price);

    List<Orders> getOrdersByPage(int pageNo, int pageSize, int status);
    
    void deleteOrder(int orderId);
    
}
